package com.example.消息可靠性.发送方保证.事务方式;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MessageController {
    @Autowired
    MessageService message;


    @GetMapping("/sendTranMsg")
    public void send(){
        message.send();

    }
}
